package com.woniu.springboot.mybatis.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhaolei
 * @date 2021/4/10 - 18:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private int sid;
    private String sname;
    private String telephone;
    //学生表关联老师
    private List<Teacher> teachers;
}
